package com.un.ebs.inventory.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.un.ebs.core.enums.IEnum;
import lombok.Getter;

/**
 * @author liubo
 * @email liubocs@163.com
 * @date 2020/5/28 11:54
 */
@Getter
public enum BusinessRelationTypeEnum implements IEnum {
    DEFAULT(0, "未定义"),
    CUSTOMER(1, "客户"),
    SUPPLIER(2, "供应商");


    @EnumValue
    private final int code;
    private final String desc;

    BusinessRelationTypeEnum(int code, String desc) {
        this.code = code;
        this.desc = desc;
    }
}
